package com.cmwa.scbp.business.product.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cmwa.scbp.base.annotation.MybatisDao;
import com.cmwa.scbp.base.mvc.entity.SearchParam;
import com.cmwa.scbp.business.product.entity.TreFeeDetailVo;
import com.cmwa.scbp.business.product.entity.TreFeeTypeVo;

@MybatisDao
public interface TreFeeTypeDao {

	/**
	 * 通过产品编码查找费用信息
	 * @param feeId
	 * @return
	 */
	public List<TreFeeDetailVo> prdFeeInfoByCode(@Param("subPrdCode") String feeCode);

	public List<TreFeeTypeVo> treFeeTypeListPage(SearchParam param);

	public TreFeeTypeVo getTreFeeTypeByFeeCode(@Param("feeCode")String feeCode);

	public void insertTreFeeType(TreFeeTypeVo treFeeTypeVo);

	public void updateTreFeeType(TreFeeTypeVo treFeeTypeVo);

	public int deleteTreFeeType(@Param("modifyId")String modifyId,@Param("feeCode")String feeCode);

	public List<TreFeeTypeVo> treFeeTypeList();
	
}
